The phrase "only reason" means that something is done or exists for a particular purpose, and no other purpose. It implies that there are no other reasons or motives behind it.